import math

s = input().split(" ")
x1 = float(s[0])
y1 = float(s[1])
x2 = float(s[2])
y2 = float(s[3])
x3 = float(s[4])
y3 = float(s[5])
a = ((x2 - x3) ** 2 + (y2 - y3) ** 2) ** 0.5
b = ((x1 - x3) ** 2 + (y1 - y3) ** 2) ** 0.5
c = ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5
A = math.acos((a ** 2 - b ** 2 - c ** 2) / (-2 * b * c))
B = math.acos((b ** 2 - a ** 2 - c ** 2) / (-2 * a * c))
C = math.acos((c ** 2 - b ** 2 - a ** 2) / (-2 * a * b))
print("%.2f" % math.degrees(A))
print("%.2f" % math.degrees(B))
print("%.2f" % math.degrees(C))